var cp = require("child_process");
var sp1 = cp.fork("./test14_stdout.js", //
    ["one", "two", "three", "four"], //
    {silent: true});

var sp2 = cp.fork("test2.js");

sp1.stdout.on("data", function (data) {
    console.log("子进程标准输出:" + data);
    sp2.send(data.toString());
});

sp1.on("exit", function (code, signal) {
    console.log("子进程退出：" + code);
    process.exit();
});

sp1.on("error", function (err) {
    console.log("子进程开启失败:" + err);
    process.exit();
});